context.knowledgeengine_securityservice.clearAuthTokens()

context.REQUEST.RESPONSE.redirect("resetAuthTokens_form?portal_status_message=Your authentication tokens have been cleared")